<template>
  <div>
    <h1>发现音乐</h1>
    <hr />
    <router-link to="/find/Recommend">推荐</router-link> |
    <router-link to="/find/Ranking">排行榜</router-link> |
    <router-link to="/find/SongList">歌单</router-link>
    <!-- 设置二级路由挂载点 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
/* 设置二级导航高亮效果 */
.router-link-exact-active {
  background-color: yellow;
  color: #000;
}
</style>